require('dotenv').config();
const axios = require('axios');

const deleteRepository = async () => {
  try {
    const token = process.env.GITHUB_TOKEN;
    const response = await axios.delete(
      'https://api.github.com/repos/loyd3/joe_super_mcp',
      {
        headers: {
          Authorization: `token ${token}`,
          Accept: 'application/vnd.github.v3+json'
        }
      }
    );
    console.log('Repository deleted successfully:', response.data);
  } catch (error) {
    console.error('Error deleting repository:', error.response?.data || error.message);
  }
};

deleteRepository();
